function gscholar (query, from, to, start, num, callback) {
	// Form the basic Google Scholar query
	var query_url =	"http://scholar.google.com/scholar?q=" + encodeURI(query) + "&hl=en&btnG=Search&as_sdt=2001";

	// From date
	if (from) {
		query_url += "&as_ylo=" + from.toString();
	}
	
	// To date
	if (to) {
		query_url += "&as_yhi=" + to.toString();
	}

	// Number and offset of result
	query_url += "&num=" + num.toString() + "&start=" + start.toString();

	// Call Google Scholar
	postCORS("http://wing.comp.nus.edu.sg/~huydhn/sciverse/upload.cgi", { 'content': query_url }, callback);
}



